package com.manbas.zhg.manbas.api;


import com.manbas.zhg.manbas.config.AppConfig;
import com.manbas.zhg.manbas.global.BaseApi;

import java.util.HashMap;

/**
 * Created by Administrator on 2016/11/16.
 */

public class LoginApi implements BaseApi {
    public String phone;
    public String password;
    @Override
    public HashMap<String, String> getParamString() {
        HashMap<String,String> map=new HashMap<>();
        map.put("phone",phone);
        map.put("password",password);
        return map;
    }

    @Override
    public String getUrl() {
        return AppConfig.loginApi;
    }
}
